<?php

declare(strict_types=1);

namespace App\Request\Client\Common;

use App\Constants\DefaultValue;
use Hyperf\Validation\Request\FormRequest;

class UploadImageRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'image' => 'required|image'
        ];
    }

}